package com.dofast.bt.mvp.view.activity.basket;

import android.widget.Adapter;

import com.dofast.bt.base.BaseMvpView;
import com.dofast.bt.bean.AddressBean;
import com.dofast.bt.bean.GoodsBean;
import com.dofast.bt.bean.ShoppingCartBean;

import java.util.List;

/**
 * username:Created by hsj on 2016/12/18 0018.
 * class：
 * 类描述：提交訂單
 */

public interface SubmitOderView extends BaseMvpView {
    /**
     * @param adapter
     */
    void initAdapter(Adapter adapter);

    /**
     * 显示对话框
     */
    void showDiaolog();


    /**
     * @return 商品列表
     */
    List<ShoppingCartBean> getGoods();

    /**
     * @return 获取地址
     */
    AddressBean getAddress();

    /**
     * @param address 设置地址
     */
    void setAddress(AddressBean address);

    /**
     * @param allMoney 显示总金额
     */
    void setAllMoney(String allMoney);

    /**
     * 修改地址
     */
    void changeAddress();

    /**
     * @param addressBean
     * @param goods       界面跳转
     */
    void gotoPay(AddressBean addressBean, List<ShoppingCartBean> goods);




}
